package com.pphh.demo;

/**
 * Created by pphh on 2022/9/30.
 */
public class Main {

    public static void main(String[] args) throws InterruptedException {
        // 测试ttl的上下文传递
        Logger.logMessage("");
        TestTtl testTtl = new TestTtl();
        testTtl.test();

        // 测试多层次线程下的ttl上下文传递
        Logger.logMessage("");
        TestTtl2 testTtl2 = new TestTtl2();
        testTtl2.test();
    }

}
